package com.siashan.unipay4j.wx.model;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>V3 统一下单-优惠功能</p>
 *
 * @author siashan
 * @since v2.0.1
 */
@Data
@Accessors(chain = true)
public class Detail {
    /**
     * 订单原价
     */
    @JSONField(name = "cost_price")
    private int costPrice;
    /**
     * 商品小票ID
     */
    @JSONField(name = "invoice_id")
    private String invoiceId;
    /**
     * 单品列表
     */
    @JSONField(name = "goods_detail")
    private List<GoodsDetail> goodsDetail;
}
